def f(char):
    if char.islower():return char.upper()
    else:return char.lower()

a=[f(char) for char  in 'ASJDJKAJKSaaaL' ]
print(a)